@import "../../../../../public/reset.scss";

@mixin num($w: 100%, $h: auto) {
    width: $w;
    height: $h;
}

$base-size : 75px;

// 写一个函数把px转换为rem  @function  函数名 （形参）{@return  函数返回值}

@function px2rem($val) {
    @return $val/$base-size * 1rem;
}

html,
body {
    @include num(100%, 100%)
}
.home{
    width: 100%;
    height: 100%;
}
.home header {
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    padding: 0 10px;
    // border-bottom: 1px solid #ccc;
    background-color: #64beb4;
    color: #fff;
    h4{
        font-weight: bold;
        color: #fff;
    }
}

.home .mis img {
    width: 100%;
    z-index: -1;
}

.home .main {
    width: 90%;
    height: 280px;
    border-radius: 20px;
    margin: 0 5%;
    margin-top: -50px;
    z-index: 12;
    position: relative;
    box-shadow: 0px 6px 12px -2px #e9e9e9;
    box-sizing: border-box;
}

.home .main ul {
    height: 40px;
    display: flex;
    align-items: center;
    box-sizing: content-box;
}

.home .main ul li {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    line-height: 40px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    color: #a3a3a3;
    margin-top: 10px;
}

.home.main ul .click {
    color: black;
}

.home .line {
    width: 35px;
    height: 3px;
    background: black;
    position: relative;
    left: 67px;
    top: 0px;
}

.home .line2 {
    width: 35px;
    height: 3px;
    background: black;
    position: relative;
    left: 238px;
    top: 0px;
}

.home .input1 {
    width: 90%;
    height: 50px;
    margin-left: 5%;
    background: rgb(246, 246, 246);
    border-radius: 10px;
    margin-top: 15px;
}

.home .input2 {
    width: 90%;
    height: 50px;
    margin-left: 5%;
    background: rgb(246, 246, 246);
    border-radius: 10px;
    margin-top: 12px;
}

.home .ileft {
    position: absolute;
    left: 40px;
    top: 55px;
    width: 50%;
    height: 55px;
    background: rgba(255, 255, 255, 0);
    float: left;
    line-height: 55px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s linear;
}

.home .iright {
    position: absolute;
    left: 143px;
    top: 55px;
    width: 50%;
    height: 55px;
    background: rgba(255, 255, 255, 0);
    float: left;
    text-align: right;
    line-height: 55px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s linear;
}

.home .icon-chage {
    width: 24px;
    height: 24px;
    position: absolute;
    background: url(https://images3.c-ctrip.com/train/activity/ctrip-order-static/icon-chage.png) no-repeat;
    background-size: cover;
    top: 30%;
    left: 50%;
    margin: -12px 0 0 -12px;
    z-index: 2;
    transition: 0.2s;
}

.home .icon-chage1 {
    width: 24px;
    height: 24px;
    position: absolute;
    background: url(https://images3.c-ctrip.com/train/activity/ctrip-order-static/icon-chage.png) no-repeat;
    background-size: cover;
    top: 30%;
    left: 50%;
    margin: -12px 0 0 -12px;
    z-index: 1000000;
    transform: rotate(-180deg);
    transition: 0.2s;
}

.home .input2 {
    line-height: 55px;
    font-size: 14px;
    font-weight: 600;
    text-indent: 20px;
}

.home .btn-sel {
    border-radius: 10px;
    border: none;
    margin-top: 20px;
    width: 78%;
    margin-left: 11%;
    height: 44px;
    font-size: 17px;
    box-shadow: 0 8px 16px rgb(255 119 0 / 30%);
    background: linear-gradient(90deg, #ffa50a, #f70);
    color: white;
    font-size: 14px;
}

.home .small {

    display: inline-block;
    border-radius: 10px;
    font-size: 12px;
    margin-left: 15px;
    margin-top: 15px;
    border: 1px solid #ccc;
    padding: 3px;
}

.home .clean {
    float: right;
    font-size: 12px;
    margin-right: 40px;
    margin-top: 15px;
    line-height: 25px;
}